// @APIVersion 1.0.0
// @Title beego Test API
// @Description beego has a very cool tools to autogenerate documents for your API
// @Contact astaxie@gmail.com
// @TermsOfServiceUrl http://beego.me/
// @License Apache 2.0
// @LicenseUrl http://www.apache.org/licenses/LICENSE-2.0.html
package routers

import (
	"github.com/astaxie/beego"
	"kitalk/controllers"
)

func init() {
	beego.Router("/ws", &controllers.WsController{}, "GET:WsUpgrade")
	//查看在线用户状况
	beego.Router("/onlines", &controllers.WsController{}, "GET:OnlineUsers")
	//查看用户历史记录
	beego.Router("/history", &controllers.WsController{}, "GET:History")

	beego.Router("/read", &controllers.WsController{}, "GET:Read")

	beego.Router("/manage_read", &controllers.WsController{}, "GET:ManageRead")

}
